/**
 * 登录的信息
 * 
 */
//导入模块
import express from 'express';
import loginMsg from '../controller/loginMsg';

const router = express.Router({});

//一次性图形验证码
router.get("/api/captcha",loginMsg.captcha);
//发送验证码短信
router.get("/api/send_code",loginMsg.sendCode);
//手机验证码登录
router.post("/api/login_code",loginMsg.loginCode);

export default router;
